package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.app.ConsumptionOption;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ConsumptionOptionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ConsumptionOption record);

    int insertSelective(ConsumptionOption record);

    ConsumptionOption selectByPrimaryKey(Long id);

    List<ConsumptionOption> getTimeOption(Long communityId);

    int delByCommunityId(Long communityId);

    int insertBatch(@Param("list")List<ConsumptionOption> consumptionOptions);

    int updateByPrimaryKeySelective(ConsumptionOption record);

    int updateByPrimaryKey(ConsumptionOption record);
}